@echo off


set source_directory=%1
echo source directory: %source_directory%


echo mode: %MODE%


cmake -G "Visual Studio 11" ^
      -T "v120_CTP_Nov2012" ^
      -DCMAKE_C_COMPILER_WORKS=true ^
      -DCMAKE_CXX_COMPILER_WORKS=true ^
      -DCMAKE_BUILD_TYPE=%MODE% ^
       %source_directory%

rem D:\003dev\project
echo operation ended

rem cmake -G "Visual Studio 11" ^
rem      -DCMAKE_BUILD_TYPE=%MODE% ^
rem       %source_directory%